<?php
class Line_img_model extends CI_Model
{
    private $table = 'line_img';
    
    public function findByLineId($id)
    {
        $this->db->where('line_id', $id);
        return $this->db->get($this->table);
    }
}